package com.xf.balance;

public class PowerWeightTest {
    public static void main(String[] args) {
        PowerWeight[] powerWeights = new PowerWeight[]{
                new PowerWeight("A",7),
                new PowerWeight("B",2),
                new PowerWeight("C",1)
        };
        int count = 10;
        WeightAlgorithm wa = new WeightAlgorithm(powerWeights);
        for (int i = 0; i < count; i++) {
            System.out.print(wa.next() +",");
        }

    }
}
